package com.hgd.security.evp.common.ctree;

import java.util.ArrayList;
import java.util.List;

public class TreeNode<T> {
    private Object id;
    private Object parentId;
    private List<T> children =new ArrayList<>();

    public Object getId() {
        return id;
    }

    public void setId(Object id) {
        this.id = id;
    }

    public Object getParentId() {
        return parentId;
    }

    public void setParentId(Object parentId) {
        this.parentId = parentId;
    }

    public List<T> getChildren() {
        return children;
    }

    public void setChildren(List<T> children) {
        this.children = children;
    }
}
